import React from 'react'
import { Button } from 'antd';
import { Link, useHistory } from 'react-router-dom';
export default function Test() {
    let history = useHistory();
    const onChange = ()=>{
        history.push("/ManagePage");
    }
    return (
        <Button onChange={onChange}>1234asdjkfljkadsljk;</Button>
    )

}